﻿using System;
using System.ServiceModel.Configuration;

namespace Nardax.ServiceModel.Discovery
{
    public class EndpointBindingDiscoveryElement : BehaviorExtensionElement
    {
        public override Type BehaviorType
        {
            get { return typeof(BindingDiscoveryEndpointBehavior); }
        }

        protected override object CreateBehavior()
        {
            return new BindingDiscoveryEndpointBehavior();
        }
    }
}
